
using System;
using System.Data;
using System.Runtime.Serialization;

namespace MinCultura.Sipa.DataAccess.AgentesArtes
 {
     /// <summary>
     /// A custom serializable dataset containing 
     /// </summary>

     [Serializable()]
     [System.ComponentModel.DesignerCategoryAttribute("code")]
      

	/// <summary>Class for handling datasets</summary>  
	public class DetalleNivelEducativoData : DataSet
	{
    ///
    /// Constants for table and fields mapping
    ///
		public const string ART_DETALLE_NIVEL_EDUCATIVO_TABLE = "ART_DETALLE_NIVEL_EDUCATIVO";
    
    public const string NIV_ID_FIELD = "NIV_ID";
    public const string AGE_ID_FIELD = "AGE_ID";
    public const string DET_GRADO_FIELD = "DET_GRADO";
    public const string DET_TITULO_FIELD = "DET_TITULO";
    public const string DET_ENTIDAD_FIELD = "DET_ENTIDAD";
    public const string DET_ANO_FIELD = "DET_ANO";
    
    
    protected DetalleNivelEducativoData(SerializationInfo info, StreamingContext context)
    {
    //
    }

    public DetalleNivelEducativoData()
    {
       BuildDataTables();
    }
     
    /// <summary>
    /// Creates the following datatables: Localidades
    /// </summary>
    private void BuildDataTables()
		{
        DataTable table;
        DataColumnCollection columns;
        table = new DataTable(ART_DETALLE_NIVEL_EDUCATIVO_TABLE);
        columns = table.Columns;
        
        columns.Add(NIV_ID_FIELD, typeof(System.Decimal));
        columns.Add(AGE_ID_FIELD, typeof(System.Decimal));
        columns.Add(DET_GRADO_FIELD, typeof(System.String));
        columns.Add(DET_TITULO_FIELD, typeof(System.String));
        columns.Add(DET_ENTIDAD_FIELD, typeof(System.String));
        columns.Add(DET_ANO_FIELD, typeof(System.Decimal));
        this.Tables.Add(table);
    }
        
    /// <summary>
	/// Add a new row to the table
	/// </summary>
	/// <param name="row">Dataset row
	public void addDetalleNivelEducativo(DataRow row)
	{
		this.Tables[ART_DETALLE_NIVEL_EDUCATIVO_TABLE].Rows.Add(row);
	}    
        
 }    
  
}  
